h2{
    font-size: 1.75em;
    font-weight: bold;
}

h2:not(.h2-header):not(.h2-left) {
    text-align: center;
    margin-bottom: 18px;
}

.h2-left{
    text-align: left;
}

h2:not(.h2-left):not(.h2-header) + p {
    font-size: 1em;
    text-align: center;
}

a {
    color: #70a1d1;
}

/* Fixes clipping in form-control dropdowns */
select {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.select2-choice {
  border: 1px solid #dddddd !important;
}

.select2-drop-active {
  border: 1px solid #dddddd !important;
}

.select2-drop.select2-drop-above.select2-drop-active {
  border-top: 1px solid #dddddd !important;
}

.select2-container-active .select2-choice,
.select2-container-active .select2-choices {
    border: 1px solid #dddddd !important;
    -webkit-box-shadow: none !important;
            box-shadow: none !important;
}

.select2-container-multi.select2-container-active .select2-choices {
  border: 1px solid #dddddd !important;
}

.warning-color {
  color: #ba4646;
}

.error {
  display: block;
  width: 100%;
  color: #DD0330;
}
/* creates a hanging indent for checkbox labels than span more than one line */
.hanging-indent-label {
  padding-left: 28px;
}
.hanging-indent-checkbox {
  margin-left: -28px;
}

a.logo-normal {
    padding-left: 10px;
    text-transform: uppercase;
}

.sidebar, .navbar, a.simple-text.logo-normal {
    font-family: 'Trebuchet MS', "Helvetica", Arial, sans-serif;
}

a.logo-mini {
    padding-left: 7px !important;
}

a:hover {
    color: #092a46;
}

.full-width {
  width: 100%;
}

.table-responsive {
  overflow: auto;
}

.table th {
  border-top: 0;
  border-bottom: 1px solid #dddddd;
}

.table td {
  border-top: 0;
}

.table-hover > tbody > tr:hover {
  background-color: white;
}

.table > thead > tr > th {
  text-transform: initial;
}

.no-hr {
  border-bottom: 0;
  padding-bottom: 0 !important;
}

.btn {
  padding: 0.375rem 0.75rem;
  color: white;
}

.nav a {
  font-weight: bold;
}

/* styles for all forms */
.edit-form {
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

form label {
    font-weight: bold !important;
}
.edit-form ul {
    list-style: none;
    padding-left: 20px;
}
.edit-form li > label {
    font-weight: normal;
}
.edit-form label {
    font-weight: bold;
}
.edit-form div {
    width: 100%;
}

.has-feedback label {
    color: #a94442;
}

.panel-heading {
    text-align: center;
}

.multicheckbox {
    border-radius: 12px;
    box-shadow: 0 6px 10px -4px rgba(0, 0, 0, 0.15);
    background-color: #FFFFFF;
    color: #252422;
    margin-bottom: 20px;
    padding-top: 10px;
    position: relative;
    border: 0 none;
    -webkit-transition: transform 300ms cubic-bezier(0.34, 2, 0.6, 1), box-shadow 200ms ease;
    -webkit-transition: box-shadow 200ms ease, -webkit-transform 300ms cubic-bezier(0.34, 2, 0.6, 1);
    transition: box-shadow 200ms ease, -webkit-transform 300ms cubic-bezier(0.34, 2, 0.6, 1);
    transition: transform 300ms cubic-bezier(0.34, 2, 0.6, 1), box-shadow 200ms ease;
    transition: transform 300ms cubic-bezier(0.34, 2, 0.6, 1), box-shadow 200ms ease, -webkit-transform 300ms cubic-bezier(0.34, 2, 0.6, 1);
}

.select2-search > input {
    border-radius: 4px !important;
}

.select2-choice {
    height: 38px !important;
}

.select2-choice > .select2-chosen {
    line-height: 38px !important;
}

.select2-arrow > b {
    margin-top: 4px !important;
}

.hidden {
  display: none;
}

label.required::after {
    content: ' *';
    color: red;
}

.total-fees {
  font-size: 1.2em;
  font-weight: bold;
}

/*----------------------------
FOOTER
----------------------------*/
#footer {
  margin: 0;
  margin-bottom: 95px !important;
  text-align: left;
  white-space: nowrap;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
}

/* use this when not authenticated */
.anchor-footer {
  margin-bottom: 0px !important;
}

#footer hr {
  margin: 8px 0 8px 0 !important;
  padding: 0 !important;
  border-top: 0;
  border-bottom: 1px solid #ddd !important;
  height: 0;
}

#footer ul {
  list-style: none;
  margin: 10px;
  padding-left: 0;
  overflow: auto;
}

/* Vertical bar between list items */
#footer li {
  display: inline;
  border-left: 1px solid #c8dcc2;
  padding: 0px 10px 0px 10px;
  float: left;
}

#footer li:first-child {
  padding-left: 0px;
  border-left: none;
}

#footer li:last-child {
  float: right;
  border-left: none;
  padding-right: 0px;
}

.logo-image-small {
  width: 30px;
}

.logo-image-small > img {
  border-radius: 0;
}

.navbar {
  min-height: 62px;
}

.nav-item {
  padding-right: 10px;
}

.sidebar-wrapper {
  display: flex; /* defines flexbox */
  flex-direction: column; /* top to bottom */
  justify-content: space-between;
  padding-bottom: 0 !important;
}

.sidebar-application {
  padding-left: 20px;
  padding-right: 20px;
}

.application-footer {
    bottom: 0px;
    margin-left:-45px;
    padding-left: 25px;
    padding-right: 25px;
    border-top: 1px solid #ddd !important;
    position: fixed;
    width:calc(100% - 240px);
    background-color: #FFF3CD;
    display: flex;                   /* defines flexbox */
    flex-direction: row;          /* left to right */
    justify-content: space-between;
}

.application-footer > .btn {
    background-color: #1E647B;
    font-size: 1.25em;
    min-width: 150px;
    margin: 20px 10px;
    line-height: 2em;
}

#submit-summary {
  background-color: #1E647B;
}

@media (max-width: 991px) {
    .navbar .navbar-nav .nav-item:first-child {
      margin-top: 0;
    }
    .navbar .navbar-nav .nav-item:first-child {
      margin-top: 0;
    }
    .application-footer {
      /* padding-left:10px !important; */
      /* padding-right:10px !important; */
      /* margin-right: 10px; */
      width:calc(100% + 30px);
      padding-right: 25px;
    }

}

@media screen and (max-width: 991px){
    .nav-open .application-footer {
        width:calc(100% - 255px);
        padding-right: 10px;
    }
}

@media (max-width: 769px) {
    .application-footer {
        margin-left: -30px !important;
    }
}

.no-wrap-right-align{
    float:right;
    padding-top: 5px;
    /* font-weight: bold; */
    margin-bottom: 0px;
}

@media (max-width:444){
    .no-wrap-right-align{
        margin-left: 60%;
        float: unset;
    }
}

input[type="checkbox"], input[type="radio"] {
    width: 20px;
    margin-right: 5px;
    height: 20px;
    vertical-align: -5px;
}

.center {
  display: block;
  margin: 0 auto;
}

.sidebar .sidebar-wrapper .nav {
    overflow-y: auto;
    overflow-x: hidden;
}

.main-panel {
    overflow: hidden;
}

.main-panel .content {
    padding-bottom: 0px;
    min-height: calc(100vh - 340px);
}

.sidebar .sidebar-wrapper .nav li a {
    padding: 0px 8px;
    margin: 15px 15px 0;
    text-transform: none;
}

.sidebar .sidebar-wrapper .nav li a:before,
.sidebar .sidebar-wrapper .nav li a:after {
    top: 0px !important;
}

.profile-events-header {
    background-color: #f4f3ef;
    text-transform: uppercase;
}

.profile-card-headers {
  padding-top: 5px;
  font-weight: bold;
  margin-bottom: 0px;
}

.float-right {
    float:right;
}

.form-subheader {
    margin-top: 40px;
}
.nav {
    height: 400px;
}
.padding-top-row {
    padding-top:20px;
}

label, input{
    display: inline-block;
    vertical-align: middle;
}

.div-pad-align{
    padding-top: 10px;
    text-align: center;
}

.white-box{
    margin-bottom:25px;
    padding-left:25px;
    padding-right:25px;
    padding-top:20px;
}
.no-pd-left{
    padding-left:0px;
}
.pb-extra-1{
    padding-bottom:15px;
}
.pb-extra{
    padding-bottom:20px;
}
.h4-override{
    padding-top:0px;
    margin-top:0px;
    font-size: 1.75em;
    font-weight: bold;
}
.line-3 {
    box-sizing: border-box;
    height: 1px;
    width: 100%;
    border: 1px solid #DDDDDD;
}
.profile-mb{
    margin:0;
    font-size: 1.75em;
    font-weight: bold;
}
.g-recaptcha {
    margin-top:15px;
}
.activities tr:not(:first-child){
    border: 1px solid #DDDDDD;
    border-top-width: 0px;
    border-left-width: 0px;
    border-right-width: 0px;
}

#id_apply_to_components, #id_apply_to_activities{
    margin-bottom:0px;
    padding-left:20px;
    list-style-type: none;
}

.card {
  border-radius: 4px;
  border: 1px solid #DDDDDD;
  box-shadow: 0 4px 6px -6px rgba(0, 0, 0, 0.15);
}

.card label {
    font-size: 0.8571em;
    margin-bottom: 5px;
    color: #000000;
 }

 .white-box td, .white-box th{
    padding-left: 0;
    padding-top: 6px;
    padding-bottom: 6px;
 }

 .white-box tr:last-child td{
  padding-bottom: 15px;
 }

 .lodging h4{
     font-weight: bold;
 }

 #ui-datepicker-div{
    background-color:white;
    padding: 15px;
    border: 1px solid white;
    border-radius: 2px;
 }

.ui-icon-circle-triangle-e{
     float:right;
 }

.authorize-logo {
  padding: 1px 15px 15px 15px;
}

/*----------------------------
Content Section
 ----------------------------*/

 .content {
   margin-top: 31px !important;
   margin-bottom: 123px;
 }

/*----------------------------
Sidebar Section
 ----------------------------*/

 .sidebar-subtotal {
    color: #555;
    font-weight: 600;
 }

/*----------------------------
Page Header
 ----------------------------*/

 .header-info {
  padding-bottom: 24px;
}

/*----------------------------
Components Section
----------------------------*/

.component-header {
  padding-bottom: 10px;
}

@media screen and (min-width: 769px){
  /*On large screens shift header left to align with right aligned checkbox*/
  .component-header {
    margin-left: -60px;
  }
  /*On large screens right align checkbox*/
  .component .custom-control.custom-checkbox {
    float: right;
  }
}

.component-header-name{
  font-size: 20px;
  font-weight: bold;
}

.component {
  padding: 0px 0px 20px 0px;
}

 .component-name{
   font-size: 16px;
   font-weight: bold;
   padding-bottom: 10px;
 }

.component-details{
   font-size: 14px;
}

/*----------------------------
Bootstrap Overrides
----------------------------*/

.custom-control-label::before,
.custom-control-label::after {
  width: 1.35rem;
  height: 1.35rem;
}

.custom-checkbox .custom-control-input:disabled~.custom-control-label::before {
  background-color : #909090 !important;
  border-color: #383838 !important;
}

/*----------------------------
Group List Section
----------------------------*/

.modal-button-delete {
  padding: 3px 18px 3px 18px;
  margin: 0px 15px 0px 15px;
  color: #dd0330;
  font-weight: 600;
  border: 2px solid #dd0330;
  border-radius: 3px;
}

.modal-button-delete-disabled {
  padding: 3px 18px 3px 18px;
  margin: 0px 15px 0px 15px;
  color: rgba(0, 0, 0, 0.2);
  background-color: rgba(0, 0, 0, 0.15);
  font-weight: 600;
  border: 2px solid rgba(0, 0, 0, 0.15);
  border-radius: 3px;
  pointer-events: none;
}

.modal-button-delete:hover {
  color: #770110;
  text-decoration: underline;
}

/*----------------------------
Activities Section
----------------------------*/

.width-55{
    width: 55%;
}

.no-wrap {
  white-space: nowrap;
}

.popover-activities .popover-body{
  background-color: #111;
  color: #eee;
}

.popover-activities .arrow:after{
  border-top-color: #111;
}

/*----------------------------
Activities Section
----------------------------*/

.activities-list-table {
  border-bottom: 2px solid #dee2e6 !important;
}

.modal-content {
  background-color: #eee;
  height: 40%;
}

.modal-header {
  border: none;
}

.modal-header .close {
  padding: 0px;
  margin: 0px;
}

.modal-title {
  margin: 0 auto;
  font-size: 20px;
  font-weight: 600;
}

.modal-body {
  background-color: #fff;
  margin: 0px 20px 20px 20px;
  border-radius: 5px;
}

.modal-activities {
  width: 85%;
}

.modal-activity {
  padding-bottom: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.modal-button-edit {
  padding: 3px 18px 3px 18px;
  color: #778;
  font-weight: 600;
  border: 2px solid #778;
  border-radius: 3px;
}

.modal-button-link {
  background: none!important;
  border: none;
  padding: 0!important;
  color: #17b;
  text-decoration: none;
  cursor: pointer;
}

.modal-button-link:hover {
    color: #024;
    text-decoration: underline;
}

/*----------------------------
Lodging Section
----------------------------*/

.lodging-container {
  list-style-type: none;
  width: 100%;
  padding-left: 15px;
  padding-right: 15px;
}

.rank-header {
  padding-left: 55px;
}

.lodging-row {
  border: 1px solid lightgray;
  padding: 10px;
  background-color: white;
  cursor: grab;
}

.lodging-row .hotel {
  margin-top: 5px;
  margin-bottom: 5px;
}

.rank-ellipsis {
  float:left;
  padding-left:10px;
  margin-top:10px;
}

.preference {
  padding-left: 20px;
  width: 100px;
}

.lodging-radio-button {
  list-style-type: none;
  list-style-position: inside;
  padding: 10px 0 10px 20px;
  text-indent: -1em;
}

@media (max-width: 576px) {
  .hotel-header {
    padding-left: 15px;
  }

  .preference {
    padding-left: 0px;
  }
}

/*----------------------------
New header Section
----------------------------*/
.white-box .header {
  font-size: 1.65em;
  font-weight: bold;
  padding-top: 0px;
  padding-bottom: 15px;
}

.white-box .subheader {
  font-size: 1.1em;
  text-align: left;
  padding-top: 14px;
  padding-bottom: 10px;
}

.white-box .fee{
  width: 105px;
  text-align: right;
  padding-left: 0;
}

.no-padding-x {
  padding-left: 0;
  padding-right: 0;
}

/*------------------
Additional activities
-----------------------*/
.qty-box {
  width: 65px;
}

/*-----------------
Datepicker changes
--------------------*/
.datepicker table tr td.disabled, .datepicker table tr td.disabled:hover {
  color: #EEE;
}

.whoisattending-footer {
  justify-content: flex-end;
}

/*----------------
Presbytery Report Commissioners
-----------------*/
.multi-select-checkbox ul {
  list-style: none;
  padding-left: 0;
}

.multi-select-checkbox input {
  display: inline-block;
}

.form-control::placeholder {
  color: #E3E3E3;
}

.help_text {
  font-family: "Muli", sans-serif;
  font-size: smaller;
  font-weight: normal;
}